home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / VISUALBA / BOZOL2.ZIP / README < prev    next >
Text File  |  1994-02-08  |  4KB  |  105 lines

  1. I have added a whole bunch of new stuff to BozoL, however I have not been
  2. able to document any of it yet.  Since a few people have asked for it, I
  3. am uploading it here with the old documentation.  Here is a brief and
  4. sloppy list of the things I added
  5.  
  6. 1) All I/O is handled in the file BOZO_IO.BAS, so you can window it, run it
  7.    through a modem, whatever.
  8.  
  9. 2) Constants at the beginning define whether I/O is done directly, through
  10.    BIOS or through DOS.
  11.  
  12. 3) dBASE commands added:
  13.  
  14. USE "datafile" - opens a dBASE file for use
  15. GET n          - reads a certain record into memory variables
  16. PUT n          - writes memory variables to record n, or appends if n is omitted
  17. CREATEFORMAT   - routine creates a data entry screen format file
  18. CREATEINDEX "field" - routine creates an index file for "field"
  19. FORMAT         - loads a screen format for view or edit
  20. VIEW           - displays current rec with default screen or custom format
  21. EDIT           - edits the current record
  22. EDIT n         - edits record n
  23. APPEND         - edits and appends a new record
  24. DELIMITED      - returns a comma-delimited string of entire record
  25. INDEX "field"  - sets an index that has been created with CREATEINDEX
  26. FIND "string"  - searches the current index for "string" case insensative
  27. NEXT           - skips 1 rec (in index if set)
  28. PREV,PREVIOUS  - skips back 1 rec
  29. SKIP n         - skips a specified number of records
  30. TOP,FIRST      - goes to the first record (top if index set)
  31. BOTTOM,LAST    - goes to the last record
  32. ISOPEN         - returns true if database is open
  33. RECNUM,RECNO   - returns current record number
  34. NUMFIELDS      - returns the number of fields in the database
  35. COUNT          - returns the number of records in the database
  36. INDEXFILE      - returns the name of the current index file
  37. INDEXFIELD     - returns the name of the current index field
  38. DBEND          - returns true if current rec is the last rec
  39.  
  40.  
  41. other commands added:
  42.  
  43.         see CASE structure in *.CMD files for all commands in BozoL
  44.  
  45. language changes:
  46.  
  47.         You may use AND and OR in logical expressions
  48.  
  49.                 IF 1 AND 2:GOTO 3
  50.  
  51.         Strings can only be concantenated with the & symbol
  52.  
  53.                 SET A TO B & C
  54.  
  55.         Except in PRINT, PROMPT or INPUT statements the & is not necessary
  56.  
  57.                 PRINT A B C D "That's ALl!"
  58.  
  59.         is the same as PRINT A & B & C ... etc.
  60.  
  61.  
  62.  
  63.         BozoL - The Bozo Language!
  64.         ==============================================================
  65.         October 21, 1993 *** Erik Olson
  66.  
  67.         To run Bozol compile the file BOZOL.BAS and then run it from DOS
  68.         or inside the PowerBASIC IDE.
  69.  
  70.         An example program has been put together called TEST.BOZ.  To
  71.         run this program, type RUN TEST.BOZ at the BozoL OK prompt.
  72.  
  73.         Or, you can type LOAD TEST.BOZ and then type LIST.  There are
  74.         several hundred lines in this program.  To see a small part of
  75.         it type LIST 1 TO 20.  Then type RUN to make the program go.
  76.  
  77.         BozoL has just enough keywords to run simple programs. It is
  78.         intended that you add your own statements and functions to
  79.         make BozoL a useful language.
  80.  
  81.         FILES
  82.         =====
  83.  
  84.         README        - This file
  85.         TEST.BOZ      - BozoL language test program, displays doc file
  86.         BOZOL.REF     - BozoL language reference
  87.         BOZOL.DOC     - BozoL language guide
  88.                       -
  89.         BOZOL.BAS     - Mail BozoL program (compile this one)
  90.         PREP.BAS      - include file, preprocessor for interpreter
  91.         CALC.BAS      - recursive descent parsing routine
  92.         ERRORMSG.BAS  - error message data statements
  93.                       -
  94.         CALC.CMD      - commands related to math (calc, eval)
  95.         VARIABLE.CMD  - commands related to variables (let, set)
  96.         LOGIC.CMD     - commands related to logic (if, while, until)
  97.         LOADRUN.CMD   - commands related to program execution (load, run, etc)
  98.         VIDEO_IO.CMD  - commands related to i/o (print, input, etc)
  99.         FLOW.CMD      - commands related to program flow control (goto, gosub)
  100.         FUNCTION.CMD  - functions (ucase, left, inkey, chr, asc, etc)
  101.  
  102.         For more information on how to use BozoL contact me at PowerBASIC
  103.         tech support (813) 625-1172, or leave me a compusponge message at
  104.         73141,1644 -Erik
  105.